package com.core.cloudbusiness.sheet.mayor.service;

import com.core.cloudcommon.CommonPageResponse;
import com.core.cloundbusinessapi.sheet.mayor.dto.CloudSheetMayorDTO;
import com.core.cloundbusinessapi.sheet.mayor.dto.CloudSheetQueryDTO;
import com.core.cloundbusinessapi.sheet.mayor.vo.CloudSheetMayorImportVO;
import com.core.cloundbusinessapi.sheet.mayor.vo.CloudSheetQueryListVO;
import com.core.cloundbusinessapi.sheet.mayor.vo.CloudSheetQueryVO;
import com.core.cloundbusinessapi.sheet.mayor.vo.CloudSheetTearVO;

import java.util.List;

/**
 * @author =====Lqj=====
 * @className CloudSheetMayorService
 * @description
 * @create 2024/11/19 17:12
 **/

public interface CloudSheetMayorService {

    /**
     * 导入工单接口
     *
     * @param cloudSheetMayorVO
     */
    String importSheet(CloudSheetMayorImportVO cloudSheetMayorVO);

    /**
     * 查询工单以及工单流程接口
     *
     * @param cloudSheetQueryVO
     * @return
     */
    CommonPageResponse<CloudSheetMayorDTO> querySheet(CloudSheetQueryVO cloudSheetQueryVO);

    /**
     * 拆单，接口
     *
     * @param cloudSheetTearVO
     */
    String tearSheet(CloudSheetTearVO cloudSheetTearVO);

    void updateSheetStatus(String sheetCode,String type,String handleUnit);


    List<CloudSheetMayorDTO> querySheetList(CloudSheetQueryListVO cloudSheetQueryListVO);
}
